<?php
namespace app\common\model;
use think\model\concern\SoftDelete;
class BuildingDesc extends \think\Model{
    protected $resultSetType = 'collection';
    use SoftDelete;
    protected $deleteTime = 'delete_time';

    //楼盘相册关联
    public function building()
    {
        return $this->hasOne('building','id','building_id');
    }
}